package day1119;

public class Demo15 {
    public static void main(String[] args) {
        for(int i=1;i<=4;i++){

            for(int x=1;x<=4-i;x++){//执行两遍
                System.out.print(" ");
            }

            for(int x=1;x<=2*i-1;x++){//执行3遍
                System.out.print("*");
            }
            System.out.println();

        }
    }
}
